package com.wanlian.netty.msg;


import com.fasterxml.jackson.annotation.JsonInclude;
import com.wanlian.json.JsonStringUtil;

@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class BaseMsg {

    private String replyType;

    private String type;

    private String clientId;

    private String tagClientId;

    private String content;

    private boolean bNew;

    public BaseMsg() {
        // this.clientId = Constants.getClientId();
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTagClientId() {
        return tagClientId;
    }

    public void setTagClientId(String tagClientId) {
        this.tagClientId = tagClientId;
    }

    public String toString() {
        return JsonStringUtil.writeValueAsString(this);
    }

    public String getReplyType() {
        return replyType;
    }

    public void setReplyType(String replyType) {

        this.replyType = replyType;
    }


    public boolean isbNew() {
        return bNew;
    }

    public void setbNew(boolean bNew) {
        this.bNew = bNew;
    }
}